<?php

class Boutique{

	private 
	$_idb, $_nomb, $_adresseb, $_telb, $_ouvertureb, $_stockb, $_prixb, $_locationLat, $_locationLng;

	public function __construct($idb, $nomb, $adresseb, $telb, $ouvertureb, $stockb, $prixb, $lat, $lng)
	{

		$this->_idb = $idb;
		$this->_nomb = $nomb;
		$this->_adresseb = $adresseb;
		$this->_telb = $telb;
		$this->_ouvertureb = $ouvertureb;
		$this->_stockb = $stockb;
		$this->_prixb = $prixb;
		$this->_locationLat = $lat;
		$this->_locationLng = $lng;
	}


	public function getidBoutique(){return $this->_idb;}
	public function getNomBoutique(){return $this->_nomb;}
	public function getAdresseBoutique(){return $this->_adresseb;}
	public function getTelBoutique(){return $this->_telb;}
	public function getOuvertureBoutique(){return $this->_ouvertureb;}
	public function getStockBoutique(){return $this->_stockb;}
	public function getPrixBoutique(){return $this->_prixb;}
	public function getLocationLat(){return $this->_locationLat;}
	public function getLocationLng(){return $this->_locationLng;}
        
        public function toJSON(){
            return json_encode(get_object_vars($this));
        }
        
        
}
?>